<div class="nav-mn">
	<ul class="admin_menu">
			<?php 
			$curr =  $_SERVER["REQUEST_URI"];
			foreach($this->items as $key => $value):
			?>
			<li>
				<ul class="sub_items">
						<?php 
						foreach($value["sub"] as $key1 => $sub):
						if($sub["enable"]):
						if($curr==$sub["url"]) $selected = "class=\"selected\"";
							else $selected = "";
						?>
						<li <?php echo $selected;?>><a href="<?php echo $sub["url"];?>">&raquo;&nbsp;<?php echo $sub["label"];?></a></li>
						<?php 
						endif;
						endforeach;?>
				</ul>
			</li>
			<?php endforeach;?>
	</ul>
</div>